<template>
  <el-card>
    <!-- 1.0 头部的标题 -->
    <div class="panel-header">
      <slot name="title"></slot>
    </div>
    <!-- 2.0 内容的部分 -->
    <div class="panel-con">
      <slot name="content"></slot>
    </div>
  </el-card>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
/deep/ .el-card__body {
  padding: 0;
}

.panel-header {
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

.panel-con {
  padding: 20px;
}
</style>
